package com.gjintel.auction.business.websocket.model;

/**
 * Created by Administrator on 2017/11/20.
 */
public class WebSocketSendMessage extends WebSocketMessageBase {

    private String nowprice;//当前价格

    private String biddrId;//出价的用户ID

    private String bidderName;//出价的用户名称

    private Long bidderTime;//出价时间

    private Long endtime;//竞价结束时间

    private String code;//项目编号

    private String auctionId;//竞价ID

    public WebSocketSendMessage() {
    }

    public WebSocketSendMessage(String type, int errorCode, String message, String nowprice, String biddrId, String bidderName, Long bidderTime, Long endtime, String code, String auctionId) {
        super(type, errorCode, message);
        this.nowprice = nowprice;
        this.biddrId = biddrId;
        this.bidderName = bidderName;
        this.bidderTime = bidderTime;
        this.endtime = endtime;
        this.code = code;
        this.auctionId = auctionId;
    }

    public String getNowprice() {
        return nowprice;
    }

    public void setNowprice(String nowprice) {
        this.nowprice = nowprice;
    }

    public String getBiddrId() {
        return biddrId;
    }

    public void setBiddrId(String biddrId) {
        this.biddrId = biddrId;
    }

    public String getBidderName() {
        return bidderName;
    }

    public void setBidderName(String bidderName) {
        this.bidderName = bidderName;
    }

    public Long getBidderTime() {
        return bidderTime;
    }

    public void setBidderTime(Long bidderTime) {
        this.bidderTime = bidderTime;
    }

    public Long getEndtime() {
        return endtime;
    }

    public void setEndtime(Long endtime) {
        this.endtime = endtime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getAuctionId() {
        return auctionId;
    }

    public void setAuctionId(String auctionId) {
        this.auctionId = auctionId;
    }
}